package com.example.film.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

@ApiModel("新增影院")
public class NewCinema {

    @ApiModelProperty("序号")
    private Integer id;

    @ApiModelProperty("影院简称")
    private String cinemaName;

    @ApiModelProperty("影院归属地")
    private String cinemaArea;

    @ApiModelProperty("银幕数量")
    private Integer screenNumber;

    @ApiModelProperty("开业日期")
    private Date openDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCinemaName() {
        return cinemaName;
    }

    public void setCinemaName(String cinemaName) {
        this.cinemaName = cinemaName;
    }

    public String getCinemaArea() {
        return cinemaArea;
    }

    public void setCinemaArea(String cinemaArea) {
        this.cinemaArea = cinemaArea;
    }

    public Integer getScreenNumber() {
        return screenNumber;
    }

    public void setScreenNumber(Integer screenNumber) {
        this.screenNumber = screenNumber;
    }

    public Date getOpenDate() {
        return openDate;
    }

    public void setOpenDate(Date openDate) {
        this.openDate = openDate;
    }

    @Override
    public String toString() {
        return "NewCinema{" +
                "id=" + id +
                ", cinemaName='" + cinemaName + '\'' +
                ", cinemaArea='" + cinemaArea + '\'' +
                ", screenNumber=" + screenNumber +
                ", openDate=" + openDate +
                '}';
    }
}
